package com.server.model.all.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.server.model.all.base.BaseEntity;
import lombok.*;

@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter

@Builder
@TableName("user_role")
public class UserRoleEntity extends BaseEntity {
    /**
     *
     * @author LXC
     * @date 2022/6/17 21:32
     */
    @TableId(type = IdType.AUTO)
    private Long userRoleId;

    /***
     * 用户ID
     * @author LXC
     * @date 2022/3/13 22:22
     */
    private Long userId;

    /***
     * 角色ID
     * @author LXC
     * @date 2022/3/13 22:22
     */
    private Long roleId;

    /**
     * 创建用户ID
     * @author LXC
     * @date 2022/3/13 22:22
     */
    private Long createUserId;

}
